package oop12;

/**
 * @author oldliu
 * @since 1.0
 */
//表示年龄错误的异常
public class AgeException extends Exception {
    //构造方法必须加上
    public AgeException(){}
    public AgeException(String e){
        super(e);
    }
    public AgeException(Exception e){
        super(e);
    }
    public AgeException(String s,Exception e){
        super(s,e);
    }

    //额外的检查
    public void show(){

    }
}
